/*
 *  Edge.cpp
 *  GraphPaper
 *
 *  Created by Olivier Namet on 20/04/2010.
 *  Copyright 2010 Home. All rights reserved.
 *
 */

#include "Edge.h"

int Edge::edgeCount = 0;



Edge::Edge(Port *p1, Port *p2)
{
	setId(edgeCount);
	
	setPort(0, p1);
	setPort(1, p2);
	
	
	edgeCount++;
	
}